package com.zbkj.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class WithdrawConfirmReq {

    @ApiModelProperty(value = "提现单号", required = true, example = "W10001")
    @NotBlank(message = "提现单号 不能为空")
    private String withdrawNo;

    /**
     * @see com.zbkj.dal.base.enums.WithdrawStatusEnums
     */
    @ApiModelProperty(value = "提现结果", required = true, example = "SUCCESS")
    @NotBlank(message = "提现结果 不能为空")
    private String result;

    /**
     * @see com.zbkj.dal.base.enums.WithdrawPayTypeEnums
     */
    @ApiModelProperty(value = "支付类型")
    private String payType;

    @ApiModelProperty(value = "结果凭证", example = "")
    private MultipartFile file;

    @ApiModelProperty(value = "备注", example = "打款成功")
    private String remark;
}
